import request from "@/utils/request.js";

export function list(query){
    return request({
        url:'/message/list',
        method:'get',
        params:query
    })
}
export function confirmById(id){
    return request({
        url:'/message/confirm?id='+id,
        method:'get'
    })
}
export function sumMsg(){
    return request({
        url:'/message/sum',
        method:'get'
    })
}